const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  name: (state) => state.user.name,
  userInfo: (state) => state.user.userInfo,
  roles: (state) => state.user.roles, // 权限列表
  permission_routes: (state) => state.permission.routes,
};
export default getters;
